Skip to content

Conversation

@anmyachev
Copy link
Contributor

@anmyachev anmyachev commented Nov 18, 2024

Part of #2478 (to reduce diff).

These are quite stable changes, we can merge it without CI on Windows. @gshimansky if you don't mind.

Signed-off-by: Anatoly Myachev <[email protected]>
@anmyachev anmyachev marked this pull request as ready for review November 18, 2024 22:50
Signed-off-by: Anatoly Myachev <[email protected]>
@pbchekin
Copy link
Contributor

What if instead of VS i have only VS BuildTools?



def set_env_vars(vs_path, arch="x64"):
vcvarsall_path = Path(vs_path) / "VC" / "Auxiliary" / "Build" / "vcvarsall.bat"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The case when vs_path is None is not handled.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anmyachev
Copy link
Contributor Author

anmyachev commented Nov 19, 2024

What if instead of VS i have only VS BuildTools?

This most likely won't work, see #2478 (comment) for details.

UPD: I saw that the CI doesn't work, now I'll try to fix it here

UPD2: with -products * it should work now.

]


def find_vswhere():
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As of now we don't know how to reuse the code from CLFinder.py. See https://github.com/intel/intel-xpu-backend-for-triton/pull/2478/files#r1831953188 for details.

@anmyachev anmyachev mentioned this pull request Nov 19, 2024
@anmyachev
Copy link
Contributor Author

@pbchekin ready for review

@anmyachev anmyachev changed the title Add MVS' find toolchain Allow different Microsoft products for the search of VC.Tools.x86.x64 Nov 19, 2024
@anmyachev
Copy link
Contributor Author

Blocked by #2743

@anmyachev anmyachev enabled auto-merge (squash) November 20, 2024 10:58
@anmyachev anmyachev merged commit 61f5381 into main Nov 20, 2024
5 checks passed
@anmyachev anmyachev deleted the amyachev/vstoolchain branch November 20, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow different Microsoft products for the search of VC.Tools.x86.x64

3 participants